#!/usr/bin/python3
# -*- coding: UTF-8 -*-

import os
import time
import config


VOICE_PATH = config.PROJ_PATH + "voice/"

def Play(area, num, in_out):
    v_num_list = []

    v_num_list.append(VOICE_PATH + "%c.mp3" % area)
    v_num_list.append(VOICE_PATH + "%d.mp3" % num)

    if in_out:
        v_num_list.append(VOICE_PATH + "enter.mp3")
    else:
        v_num_list.append(VOICE_PATH + "exit.mp3")

    for tracks in v_num_list:
        val = os.system('mplayer ' + tracks)
        # val = 'mplayer ' + tracks
        print(val)


def main():
    Play('A', 100, 0)


if __name__ == '__main__':
    main()
